/*******************************************/
/*        (c) Pavel Bacovsky, Ph.D.        */
/*     		Bates College		   */
/*  	   Department of Politics	   */
/*           Lewiston, ME 04240            */
/*           pbacovsky@bates.edu           */
/*             www.bacovsky.phd            */
/*******************************************/

Welcome to the ReadMe for the replication packet of the manuscript "LEVEL UP: Priming Hobbyist Political Identity using Survey Experiment." By following this ReadMe, the Excel Sheets, the Stata dataset, the Stata Do-files, and the RScript, you will be able to replicate the results presented in the paper's main body and the online appendices. 

Important details before getting started:
1. One replication requires the use of R. The RScript is included in this replication packet and will be appropriately referenced in the discussion below.
2. Ensure that file paths in the Do-files and RScript match your machine, otherwise the code will not run properly.

FILES DESCRIPTION:
Bacovsky-LevelUpData_JEPS_ReadMe.txt ............ ReadMe instruction file (this document).
Bacovsky-LevelUpData_JEPS_Import.xlsx ........... Raw Excel data frame pulled from Qualtrics, sanitized.
Bacovsky-LevelUpData_JEPS_Replication.dta ....... Clean Stata data frame ready for analysis.
Bacovsky-LevelUpDoFile_JEPS_DataCleanup.do ...... Stata Do-file for data cleanup and creation of the replication dataset. Includes code to re-create Table A2.2 in online appendix 2.
Bacovsky-LevelUpDoFile_JEPS_Descriptives.do ..... Stata Do-file for the reproduction of the descriptive statistics presented in the main body of the manuscript and online appendix 2.
Bacovsky-LevelUPDoFile_JEPS_Replication.do ...... Stata Do-file for the reproduction of the analysis results and visualizations presented in the main body of the manuscript and online appendix 3.
Bacovsky-LevelUpScript_JEPS_CTE.R ............... RScript that allows the creation of the conditional treatment effect plots presented as figures A3.7 and A3.8 in the online appendix 3.

GENERAL INSTRUCTION
Start by loading the Excel spreadsheet to Stata using the DataCleanup.do file. Remember to confirm file-paths.
Running the script will produce the Replication.dta file that can be analyzed using the Descriptives.do and Replication.do file.
The CTE.R script is written to import the Replication.dta file.
All Stata and R packages utilized in analysis are clearly identified and code for their download and installation into Stata and the user's preferred R GUI are provided.